home *** CD-ROM | disk | FTP | other *** search
/ Univers Mac Interactif 42 / Univers Mac Interactif - Issue 42.iso / >interactif / Démos Voyager / BEET.DIR / 00056_Script_56 < prev    next >
Text File  |  1994-10-20  |  560b  |  32 lines

  1. on enterframe
  2.   cursor 200
  3. end
  4. on waitQT chan
  5.   if the movieRate of sprite chan = 1 then go to the frame
  6. end
  7. on waitSound chan
  8.   if  soundbusy(chan) = 1 then go to the frame
  9. end 
  10.  
  11. on myWait theTicks
  12.   set myTicks = theTicks + the ticks
  13.   repeat while (myTicks >= the ticks)
  14.     updateStage
  15.   end repeat
  16. end
  17.  
  18. on waiting theTicks
  19.   --must be preceded by startTimer
  20.   if theTicks > the timer then go the frame
  21. end
  22.  
  23.  
  24. on KeyDown
  25.   global autoplaying
  26.   put 0 into autoplaying
  27.   sound stop 1
  28.   sound stop 2
  29.   unloadcast
  30.   play done
  31. end
  32.